home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _58C2AFD49C8149748D1774DCDAD53375 < prev    next >
Encoding:
Text File  |  2006-08-04  |  4.2 KB  |  126 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': '', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': '', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': -2, 
  32.             'PaperSize': 1, 
  33.             'DriverExtra': """"""
  34.             }, 
  35.         'MIPCmdFile': '', 
  36.         'TemplateMetric': App.Constants.Boolean.false, 
  37.         'PageDimensions': (8.5,11), 
  38.         'TemplateCategory': 'Combinaties', 
  39.         'TemplateDescription': 'Combinatie van (1) 5" x 7" en (9) 1.5" x 2.5"', 
  40.         'Template': [{
  41.             'CellPosition': (0.743739,0.380036), 
  42.             'CellSize': (7,5), 
  43.             'ImagePlacement': 0, 
  44.             'ImagePath': '', 
  45.             'RotationAngle': 0, 
  46.             'ImagePosition': (0,0), 
  47.             'ImageSize': (0,0)
  48.             },{
  49.             'CellPosition': (0.751708,5.58632), 
  50.             'CellSize': (2,1.5), 
  51.             'ImagePlacement': 0, 
  52.             'ImagePath': '', 
  53.             'RotationAngle': 0, 
  54.             'ImagePosition': (0,0), 
  55.             'ImageSize': (0,0)
  56.             },{
  57.             'CellPosition': (3.15608,5.58632), 
  58.             'CellSize': (2,1.5), 
  59.             'ImagePlacement': 0, 
  60.             'ImagePath': '', 
  61.             'RotationAngle': 0, 
  62.             'ImagePosition': (0,0), 
  63.             'ImageSize': (0,0)
  64.             },{
  65.             'CellPosition': (5.54793,5.58632), 
  66.             'CellSize': (2,1.5), 
  67.             'ImagePlacement': 0, 
  68.             'ImagePath': '', 
  69.             'RotationAngle': 0, 
  70.             'ImagePosition': (0,0), 
  71.             'ImageSize': (0,0)
  72.             },{
  73.             'CellPosition': (0.751708,7.27689), 
  74.             'CellSize': (2,1.5), 
  75.             'ImagePlacement': 0, 
  76.             'ImagePath': '', 
  77.             'RotationAngle': 0, 
  78.             'ImagePosition': (0,0), 
  79.             'ImageSize': (0,0)
  80.             },{
  81.             'CellPosition': (3.15608,7.27689), 
  82.             'CellSize': (2,1.5), 
  83.             'ImagePlacement': 0, 
  84.             'ImagePath': '', 
  85.             'RotationAngle': 0, 
  86.             'ImagePosition': (0,0), 
  87.             'ImageSize': (0,0)
  88.             },{
  89.             'CellPosition': (5.54793,7.27689), 
  90.             'CellSize': (2,1.5), 
  91.             'ImagePlacement': 0, 
  92.             'ImagePath': '', 
  93.             'RotationAngle': 0, 
  94.             'ImagePosition': (0,0), 
  95.             'ImageSize': (0,0)
  96.             },{
  97.             'CellPosition': (0.751708,8.97999), 
  98.             'CellSize': (2,1.5), 
  99.             'ImagePlacement': 0, 
  100.             'ImagePath': '', 
  101.             'RotationAngle': 0, 
  102.             'ImagePosition': (0,0), 
  103.             'ImageSize': (0,0)
  104.             },{
  105.             'CellPosition': (3.15608,8.97999), 
  106.             'CellSize': (2,1.5), 
  107.             'ImagePlacement': 0, 
  108.             'ImagePath': '', 
  109.             'RotationAngle': 0, 
  110.             'ImagePosition': (0,0), 
  111.             'ImageSize': (0,0)
  112.             },{
  113.             'CellPosition': (5.54793,8.97999), 
  114.             'CellSize': (2,1.5), 
  115.             'ImagePlacement': 0, 
  116.             'ImagePath': '', 
  117.             'RotationAngle': 0, 
  118.             'ImagePosition': (0,0), 
  119.             'ImageSize': (0,0)
  120.             }]
  121.         }
  122.  
  123. def Do(Environment):
  124.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  125.  
  126.